package com.aurora.blog.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.aurora.common.core.annotation.Excel;
import com.aurora.common.core.web.domain.BaseEntity;

/**
 * 诗句对象 blog_poem
 * 
 * @author aurora
 * @date 2024-06-27
 */
public class BlogPoem extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 诗句内容 */
    @Excel(name = "诗句内容")
    private String poemContent;

    /** 诗句题名 */
    @Excel(name = "诗句题名")
    private String poemTitle;

    /** 作者 */
    @Excel(name = "作者")
    private String poemAuthor;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setPoemContent(String poemContent) 
    {
        this.poemContent = poemContent;
    }

    public String getPoemContent() 
    {
        return poemContent;
    }
    public void setPoemTitle(String poemTitle) 
    {
        this.poemTitle = poemTitle;
    }

    public String getPoemTitle() 
    {
        return poemTitle;
    }
    public void setPoemAuthor(String poemAuthor) 
    {
        this.poemAuthor = poemAuthor;
    }

    public String getPoemAuthor() 
    {
        return poemAuthor;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("poemContent", getPoemContent())
            .append("poemTitle", getPoemTitle())
            .append("poemAuthor", getPoemAuthor())
            .toString();
    }
}
